octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI - X Error: BadMatch


From: marco atzeri
Subject: Re: GUI - X Error: BadMatch
Date: Sun, 27 Jan 2013 23:34:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

On 1/27/2013 11:14 PM, Daniel J Sebald wrote:

Wait, I think I see what the problem is.  The overloaded function
setFocus() will set the focus "if this widget or one of its parents is
the active window".  Perhaps the two lines in that change set need to be
switched from:

     4.11 +  setFocus ();
     4.12 +  activateWindow ();

to

     activateWindow ();
     setFocus ();

Perhaps without an "activateWindow ()" the Qt widget doesn't yet have
it's focus reason validated.  Just guessing, but it's worth a try.

Dan


it makes no difference

Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]