[haiku-bugs] Re: [Haiku] #13463: adding a NeverDisableDefaultButton parameter to the BFilePanel constructor

  • From: "owenca" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 May 2017 23:08:15 -0000

#13463: adding a NeverDisableDefaultButton parameter to the BFilePanel 
constructor
----------------------------------+---------------------------------
   Reporter:  owenca              |      Owner:  nobody
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/libtracker.so  |    Version:  R1/Development
 Resolution:                      |   Keywords:  BFilePanel, Tracker
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+---------------------------------

Comment (by owenca):

 Replying to [comment:20 axeld]:

Ah, now I understand; yes, then the patch looks almost good. My only
 complaint would be that lines 808/809 are necessary, but that's probably
 unavoidable :-)

 I reviewed the code again, and you are right that lines 809/810 are
 necessary. Otherwise, the Open button of PE, StyleEdit, and the like would
 be enabled when the file panel is first shown with nothing selected. The
 button would then try to "Open" the current panel directory.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13463#comment:21>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: