mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-15 01:19:29 +02:00
bugfix 2641
This commit is contained in:
@@ -553,8 +553,12 @@ void ProjectPanel::updateFirewallName(libfwbuilder::FWObject *obj,const QString
|
||||
void ProjectPanel::openRuleSet (libfwbuilder::FWObject * obj)
|
||||
{
|
||||
blankEditor();
|
||||
visibleRuleSet = RuleSet::cast(obj);
|
||||
scheduleRuleSetRedraw();
|
||||
RuleSet * rs = RuleSet::cast(obj);
|
||||
if (rs!= visibleRuleSet)
|
||||
{
|
||||
visibleRuleSet = rs;
|
||||
scheduleRuleSetRedraw();
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectPanel::selectRules()
|
||||
|
||||
@@ -1559,6 +1559,12 @@ void RuleSetView::paintCell(QPainter *pntr,
|
||||
p.fillRect(rect, QColor(rclr));
|
||||
}
|
||||
|
||||
if (col==currentColumn()&&row==currentRow())
|
||||
{
|
||||
QRect rect(0, 0, cr.width(), cr.height() );
|
||||
p.fillRect(rect, cg.highlight ().color() );
|
||||
}
|
||||
|
||||
p.drawLine( cr.width()-1, 0, cr.width()-1, cr.height()-1 );
|
||||
p.drawLine( 0, cr.height()-1, cr.width()-1, cr.height()-1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user