set the accepting input status only if it's unknown
svn path=/trunk/KDE/kdelibs/; revision=1126385
This commit is contained in:
parent
e1c03d3ef8
commit
f46ac96bb1
@ -277,7 +277,9 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
//kDebug() << "we are expanding the popupapplet";
|
||||
|
||||
|
||||
q->setStatus(Plasma::AcceptingInputStatus);
|
||||
if (q->status() == UnknownStatus) {
|
||||
q->setStatus(AcceptingInputStatus);
|
||||
}
|
||||
|
||||
// we only switch to expanded if we aren't horiz/vert constrained and
|
||||
// this applet has an icon.
|
||||
@ -364,7 +366,9 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
||||
delete proxy.data();
|
||||
}
|
||||
|
||||
q->setStatus(Plasma::UnknownStatus);
|
||||
if (q->status() == AcceptingInputStatus) {
|
||||
q->setStatus(UnknownStatus);
|
||||
}
|
||||
|
||||
if (!dialogPtr) {
|
||||
//save the aspect ratio mode in case we drag'n drop in the Desktop later
|
||||
|
Loading…
Reference in New Issue
Block a user