[glom] Correct a comment.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Correct a comment.
- Date: Sun, 7 Feb 2016 16:26:32 +0000 (UTC)
commit 4f24a6b9fa57473efd1937716a2479c930de94d9
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Feb 7 17:10:20 2016 +0100
Correct a comment.
glom/navigation/box_tables.cc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glom/navigation/box_tables.cc b/glom/navigation/box_tables.cc
index 4991040..76d0c9d 100644
--- a/glom/navigation/box_tables.cc
+++ b/glom/navigation/box_tables.cc
@@ -283,7 +283,7 @@ void Box_Tables::on_adddel_Delete(const Gtk::TreeModel::iterator& rowStart, cons
auto document = get_document();
if(document)
{
- //Don't open a table that the document does not know about, because we need information from the
document:
+ //Don't delete a table that the document does not know about, because we need information from the
document:
if(!document->get_table_is_known(table_name))
{
//TODO: Do not show tables that are not in the document.
@@ -302,7 +302,6 @@ void Box_Tables::on_adddel_Delete(const Gtk::TreeModel::iterator& rowStart, cons
//Get a list of autoincrementing fields in the table:
const auto fields = document->get_table_fields(table_name);
-
//Delete the table:
if(iButtonClicked == Gtk::RESPONSE_OK)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]