|
|
|
|
@ -857,6 +857,7 @@ void MainWindow::event() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
void MainWindow::wrapper_edit_user(bool check, string column1, string column2) {
|
|
|
|
|
iter_user_del = this->treeViewUser->get_selection()->get_selected();
|
|
|
|
|
if (flag_validate_del_user && list_store_user->iter_is_valid(iter_user_del)) {
|
|
|
|
|
Gtk::TreeModel::Row row = *iter_user_del;
|
|
|
|
|
if(row) {
|
|
|
|
|
@ -867,6 +868,7 @@ void MainWindow::wrapper_edit_user(bool check, string column1, string column2) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
void MainWindow::wrapper_edit_melody(bool check, string column1, string column2) {
|
|
|
|
|
iter_melody_del = this->treeViewMelody->get_selection()->get_selected();
|
|
|
|
|
if (flag_validate_del_melody && list_store_melody->iter_is_valid(iter_melody_del)) {
|
|
|
|
|
Gtk::TreeModel::Row row = *iter_melody_del;
|
|
|
|
|
if(row) {
|
|
|
|
|
@ -878,6 +880,7 @@ void MainWindow::wrapper_edit_melody(bool check, string column1, string column2)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MainWindow::wrapper_edit_show_user() {
|
|
|
|
|
iter_user_del = this->treeViewUser->get_selection()->get_selected();
|
|
|
|
|
if (flag_validate_del_user && list_store_user->iter_is_valid(iter_user_del)) {
|
|
|
|
|
Gtk::TreeModel::Row row = *iter_user_del;
|
|
|
|
|
if(row) {
|
|
|
|
|
@ -892,6 +895,7 @@ void MainWindow::wrapper_edit_show_user() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
void MainWindow::wrapper_edit_show_melody() {
|
|
|
|
|
iter_melody_del = this->treeViewMelody->get_selection()->get_selected();
|
|
|
|
|
if (flag_validate_del_melody && list_store_melody->iter_is_valid(iter_melody_del)) {
|
|
|
|
|
Gtk::TreeModel::Row row = *iter_melody_del;
|
|
|
|
|
if(row) {
|
|
|
|
|
|