mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[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
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue