[partition] Allow all the unsafe options
- If the unsafe actions are enabled, but won't be executed, allow more unsafe actions like erasing mounted partitions and everything.
This commit is contained in:
parent
cd545e51b0
commit
1ffc0bf77d
@ -1359,6 +1359,16 @@ ChoicePage::setupActions()
|
||||
)
|
||||
}
|
||||
|
||||
#ifdef DEBUG_PARTITION_UNSAFE
|
||||
#ifdef DEBUG_PARTITION_LAME
|
||||
// If things can't be broken, allow all the buttons
|
||||
atLeastOneCanBeReplaced = true;
|
||||
atLeastOneCanBeResized = true;
|
||||
atLeastOneIsMounted = false;
|
||||
isInactiveRAID = false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if ( atLeastOneCanBeReplaced )
|
||||
m_replaceButton->show();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user