diff options
Diffstat (limited to 'src/fe/gtk/LocalMounts.py')
-rw-r--r-- | src/fe/gtk/LocalMounts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe/gtk/LocalMounts.py b/src/fe/gtk/LocalMounts.py index 34f439c..146baa0 100644 --- a/src/fe/gtk/LocalMounts.py +++ b/src/fe/gtk/LocalMounts.py @@ -172,7 +172,7 @@ can remove it from the list by clicking the 'Delete' button. if result == gtk.RESPONSE_ACCEPT: msgdialog.destroy() return - if self.mount_info_mountpoint.get_text().strip() == "": + if not self.mount_info_type.get_text().strip() in ("swap", "linux-swap") and self.mount_info_mountpoint.get_text().strip() == "": msgdialog = Widgets.Widgets().error_Box("Invalid Entry", "You must enter a mountpoint") result = msgdialog.run() if result == gtk.RESPONSE_ACCEPT: |