DEV-43041 DEV-41648 - disable OK and Apply if the media data is the same as the initial
Review #48 This change kills two birds with one stone: every frame, we check to see if the media data is the same as the one we 'initialize' with. If it is, we disable OK and Cancel. Otherwise we enable them. This makes it very difficult to set empty media data, as well as fixing the "apply button doesn't grey out" bug.
Showing
- indra/newview/llfloatermediasettings.cpp 46 additions, 9 deletionsindra/newview/llfloatermediasettings.cpp
- indra/newview/llfloatermediasettings.h 9 additions, 3 deletionsindra/newview/llfloatermediasettings.h
- indra/newview/llpanelmediasettingsgeneral.cpp 9 additions, 9 deletionsindra/newview/llpanelmediasettingsgeneral.cpp
- indra/newview/llpanelmediasettingssecurity.cpp 1 addition, 1 deletionindra/newview/llpanelmediasettingssecurity.cpp
- indra/newview/skins/default/xui/en/panel_media_settings_general.xml 17 additions, 6 deletions...iew/skins/default/xui/en/panel_media_settings_general.xml
Loading
Please register or sign in to comment