Commit 88c58a85 authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
Browse files

Show the Default/fallback profile in the profile manager dialog

Let the Default/fallback profile be shown in the Profile Manager dialog,
and disable the Edit and Delete buttons for it, it can be "cloned" by
using the New button.

BUG: 433210
FIXED-IN: 21.04
parent 396bebf5
......@@ -244,11 +244,6 @@ void ProfileManager::sortProfiles(QList<Profile::Ptr>& list)
QList<Profile::Ptr> havingIndices;
for (const auto & i : list) {
// dis-regard the fallback profile
if (i->path() == _fallbackProfile->path()) {
continue;
}
if (i->menuIndexAsInt() == 0) {
lackingIndices.append(i);
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment