Changeset 1178:cd1b4199e2e2 for src


Ignore:
Timestamp:
10/20/24 13:04:49 (5 weeks ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The PIREP editor allows sending a PIREP only if the user is logged in (re #391)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r1177 r1178  
    17131713        dialog.add_button(xstr("button_cancel"), Gtk.ResponseType.REJECT)
    17141714        dialog.add_button(xstr("viewPIREP"), 1)
    1715         dialog.add_button(xstr("sendPIREP"), Gtk.ResponseType.OK)
     1715        if self.loggedIn:
     1716            dialog.add_button(xstr("sendPIREP"), Gtk.ResponseType.OK)
    17161717
    17171718        return dialog
Note: See TracChangeset for help on using the changeset viewer.