diff --git a/include/msksheet.cpp b/include/msksheet.cpp
index d977f80f2..ebc2b404b 100755
--- a/include/msksheet.cpp
+++ b/include/msksheet.cpp
@@ -720,11 +720,11 @@ int TSpreadsheet::insert(
     // Notifica che l'inserimento e' terminato
     owner().post_insert(r);  
     
+    xi_insert_row(_obj, INT_MAX);
+    
     if (call_notify)
       notify(r, K_CTRL + K_INS);
 
-    xi_insert_row(_obj, INT_MAX);
-    
     if (update_sheet)
       xi_cell_request(_obj);             
   }