forked from qt-creator/qt-creator
Debugger: Introduce "Close memory buffers on exit" option
The usual case is probably to want normal editors stay open, but memory/diassembler removed, but all other combinations may be useful at times. So use two options instead of one. Change-Id: I58c3951cc507c7e66a8d7a65b459a036e6a5d801 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -433,7 +433,13 @@ DebuggerSettings::DebuggerSettings()
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("CloseBuffersOnExit"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
insertItem(CloseBuffersOnExit, item);
|
||||
insertItem(CloseSourceBuffersOnExit, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("CloseMemoryBuffersOnExit"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(true);
|
||||
insertItem(CloseMemoryBuffersOnExit, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("SwitchModeOnExit"));
|
||||
|
||||
Reference in New Issue
Block a user