mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed sensitivity of add_button
This commit is contained in:
parent
da99808f10
commit
f248a63d9a
@ -2464,6 +2464,7 @@ class PlaylistsPopover(Gtk.Popover):
|
|||||||
def _add(self, *args):
|
def _add(self, *args):
|
||||||
if self._add_button.get_sensitive():
|
if self._add_button.get_sensitive():
|
||||||
self._playlists_view.add(self._entry.get_text())
|
self._playlists_view.add(self._entry.get_text())
|
||||||
|
self._add_button.set_sensitive(False)
|
||||||
|
|
||||||
def _on_entry_changed(self, *args):
|
def _on_entry_changed(self, *args):
|
||||||
name=self._entry.get_text()
|
name=self._entry.get_text()
|
||||||
|
Loading…
Reference in New Issue
Block a user