summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKPropertyItemRow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FLTKDialog/FLTKPropertyItemRow.cxx')
-rw-r--r--Source/FLTKDialog/FLTKPropertyItemRow.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.cxx b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
index fa259f7..47c9d26 100644
--- a/Source/FLTKDialog/FLTKPropertyItemRow.cxx
+++ b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
@@ -57,6 +57,10 @@ PropertyItemRow
m_NameButton->box( FL_DOWN_BOX );
m_NameButton->size( secondColumn, rowHeight );
m_NameButton->callback( NameButtonCallback, (void *)m_PropertyItem );
+ if( m_PropertyItem->m_NewValue )
+ {
+ m_NameButton->color(FL_RED);
+ }
switch( m_PropertyItem->m_nItemType )
{
@@ -272,6 +276,9 @@ CheckButtonCallback( Fl_Widget * widget, void * data)
button->label(" OFF ");
pItem->m_curValue = "OFF";
}
+
+ pItem->m_Dirty = true;
+
button->redraw();
FillCacheManagerFromCacheGUI();
@@ -289,6 +296,8 @@ InputTextCallback( Fl_Widget * widget, void * data)
item->m_curValue = input->value();
+ item->m_Dirty = true;
+
FillCacheManagerFromCacheGUI();
}
@@ -320,6 +329,8 @@ ColorSelectionCallback( Fl_Widget * widget, void * data)
colorIndex = FL_FREE_COLOR;
}
+ propertyItem->m_Dirty = true;
+
colorButton->redraw();
FillCacheManagerFromCacheGUI();
@@ -348,6 +359,8 @@ BrowsePathCallback( Fl_Widget * widget, void * data)
inputText->value( newpath );
}
+ propertyItem->m_Dirty = true;
+
FillCacheManagerFromCacheGUI();
}