[Konsole-devel] [Bug 281268] It's possible to create and save profile whose name is empty.

Grissiom chaos.proton at gmail.com
Sat Sep 3 14:45:03 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=281268


Grissiom <chaos.proton at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chaos.proton at gmail.com




--- Comment #1 from Grissiom <chaos proton gmail com>  2011-09-03 14:45:03 ---
Make runtime profiles hidden

Runtime profile might be considered as overlay profiles that handle the profile
command sequence. So make it hidden.
==================================
diff --git a/src/SessionManager.cpp b/src/SessionManager.cpp
index 5d5aecc..4a736fe 100644
--- a/src/SessionManager.cpp
+++ b/src/SessionManager.cpp
@@ -771,6 +771,7 @@ void SessionManager::sessionProfileCommandReceived(const
QString& text)
     if ( !_sessionRuntimeProfiles.contains(session) )
     {
         newProfile = new Profile(_sessionProfiles[session]);
+        newProfile->setHidden(true);
         _sessionRuntimeProfiles.insert(session,newProfile);
     }
     else

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list